﻿/********************************************************************************
** @ Date:2024/07/02
** @ Author: Gaojia
** @ Modify: WeiXiaoYu
** @ Description: 噪声算法处理类(发耳)
** @ Version:1.0.0
** @ Fun:新建发耳声音算法类进行区分报警停留等
********************************************************************************/
#ifndef CAlgorithmVoiceHy_H
#define CAlgorithmVoiceHy_H
#include "CAlgorithmBase.h"
#include "CAlgorithmBase.h"
#include <QTimerEvent>
class CAlgorithmVoiceHy :
	public CAlgorithmBase
{
public:
	CAlgorithmVoiceHy(QString sSceneId);
	~CAlgorithmVoiceHy();
	bool actionAlgorthm(SCPolItemCom *pPolItemCom, QString sTaskName);  //算法处理
	void closeCotDet() override;//关闭连续检测
private:
	bool execAlgorthm();
	bool execAlgorthm(SCPolItemCom *pPolItemCom, QString sTaskName);
	virtual void timerEvent(QTimerEvent * event);
	void getAlarmData(CItemResultCamera * pItemResultCamera);
};
#endif

